<template>
  <view>
    <view class="record" v-for="(item,index) in contractOperaLogsList" :key="index">
      <p>{{ item.createTime }}</p>
      <p>{{ item.staffName }}{{ item.operTxt }}</p>
    </view>
  </view>
</template>

<script>

import {getContractOperaLogs} from "../../api/ec/console/auditLogs/signLogs";

export default {
  props: {
    value: [String, Object, Array],
    // 合同id
    contractId: {
      type: String,
    },
  },
  data() {
    return {
      contractOperaLogsList: [],
    };
  },
  created() {
    // 合同操作详情
    getContractOperaLogs(this.contractId).then((response)=>{
      this.contractOperaLogsList = response.data;
    });
  },
  methods: {

  },
}
</script>

<style lang="scss" scoped>
.record {
  background: #f7f8f8;
  padding: 15rpx 0 15rpx 30rpx;

p {
  padding: 6rpx 0;
  font-size: 26rpx;
  color: #666666;
}

.watch_sign {
  color: $uni-color-primary;
}
}
</style>